<?php

class SanPham extends CI_Controller
{
	function danhsachhoa($madm)
	{
		$data = array( 
			'dshoa'=>$this->mhoa->danhsachhoa($madm),
			'page'=>'danhsachhoa'
		);
		$this->load->view('templateuser', $data);
	}
	
	function chitiet($mahoa)
	{
		$data = array(
			'tth'=>$this->mhoa->thongtinhoa($mahoa),
			'page'=>'chitiethoa'
		);
		$this->load->view('templateuser', $data);
	}
	
}

?>